<div class="d_search d_s_h">

    <div class="s_item ka_name">ICCID号/流量卡号：</div>
    <div class="ka_cont s_item">
        <!--<input name="textfield" type="text" value="输入卡号查询" onfocus="if (value =='输入卡号查询'){value =''}" onblur="if (value ==''){value='输入卡号查询'}" />
        <span><img src="image/icon3.png" width="16" /></span>-->
        <div class="zzsc">
            <combo-select phone="phone"></combo-select>
        </div>

    </div>
    <div class="s_item"><input type="button" ng-click="search()" class="s_btn" ng-disabled="SEARCH_BUTTON_DISABLE" value="查询" /></div>

    <div class="clear marginl15"  style="margin-left:180px;">注：查询号码为19位数字，不包含最后一位字母</div>
</div>
<!--<div class="tw_content clearfix bg_f padd_2" style="display:none;">
    <ul id="o_tabs" >
        <li><a href="#" name="#tab1">充值流量</a></li>

        <li><a href="#" name="#tab2">充值记录</a></li>
    </ul>-->
<div id="o_content"  class="clearfix marginT15 back_c hidden"  ng-class="{true:'',false:'hidden'}[MEAL_CONTAINER_VISABLE]">
    <div id="tab1" class="clearfix">
        <div class="tab_item">
            <span class="s_name" ng-show="MONTH_MEAL_VISABLE">包月套餐：</span>

            <a href="javascript:;" class="a_1" ng-repeat="meal in month_meals" ng-click="selectMonthMeal($index)" ng-class="{a_active: $index == selectMonthMealIndex}">
                {{meal.itemName}}</a>


        </div>
        <div class="clearfix"></div>
        <div class="tab_item">
            <span class="s_name" ng-show="YEAR_MEAL_VISABLE">包年套餐：</span>

            <a href="javascript:;" class="a_1" ng-repeat="meal in year_meals" ng-click="selectYearMeal($index)" ng-class="{a_active: $index == selectYearMealIndex}">
                {{meal.itemName}}</a>
        </div>
        <div class="clearfix"></div>
        <div class="tab_item zhu">注：<span id="item-tip">流量生效时间为本月，全国通用</span></div>
        <div class="clearfix"></div>
        <div class="tab_item">
            <span class="s_name">支付金额：</span>
            <span class="sum">¥{{selectMeal.price|| 0}}元</span>
            <label class="original">原价{{selectMeal.originalPrice|| 0}}元</label>
        </div>
        <div class="clearfix"></div>
        <div class="tab_item">
            <span class="s_name">支付方式：</span>
            <a href="javascript:;" class="a_2" ng-class="{a2_active: selectPayWayIndex == 1}" ng-click="selectPayWay(1)">
                <img src="image/icon1.png" width="23" />微信支付</a>
            <a href="javascript:;" class="a_2" ng-class="{a2_active: selectPayWayIndex == 2}" ng-click="selectPayWay(2)">
                <img src="image/icon2.jpg" width="20" />支付宝支付
            </a>
        </div>
        <div class="clearfix"></div>
        <div class="tab_item">
            <input type="button" class="buy_btn one" value="立即购买"  ng-click="confirmInfo();"/>



            <div class="box" ng-class="{true:'',false:'hidden'}[CONFIRM_BOX_VISABLE]" >
                <div class="box2">
                    <div class="box_back">
                        <div class="q_order">
                            <h2>充值流量订单确认</h2>
                            <a class="close" href="javascript:;" ng-click="CONFIRM_BOX_VISABLE = false"></a>
                        </div>
                        <div class="q_order1">
                            <!--
                                                                 <div class="line">订单号：<em>CfCASYfQFQon1480049701040</em></div> -->
                            <div class="line">
                                <span class="span_n">ICCID号：</span>
                                <span class="span_t" id="icdc-code">{{selectMeal.id}}</span>
                            </div>
                            <div class="line">
                                <span class="span_n">充值套餐：</span>
                                <span class="span_t"><b id="icdc-name">{{selectMeal.itemName}}</b></span>
                                <!--<span class="tip">全国通用，无月租，可累加叠加月流量包。当月充值，当月使用，不结转下月。</span>-->
                            </div>
                            <div class="line">
                                <span class="span_n">支付金额：</span>
                                <span class="span_t f_color" id="icdc-price">&yen;{{selectMeal.price}}元</span>
                            </div>
                            <div class="line">
                                <span class="span_n">您选择的支付方式：</span>

                                <span class="span_t"   ng-show="selectPayWayIndex == 2" >
                                    <img src="image/icon2.jpg" width="24" id="icdc-pay-img" /><font id="icdc-pay-txt">支付宝支付</font>

                                </span>

                                <span class="span_t"   ng-show="selectPayWayIndex == 1" >
                                    <img src="image/icon1.png" width="24" id="icdc-pay-img" /><font id="icdc-pay-txt">微信支付</font>

                                </span>
                            </div>
                            <!--<div class="line"><span class="span_n">您选择的支付方式：</span><span class="span_t"><img src="image/icon1.png" width="24" />微信支付</span></div>-->
                            <div>
                               <a class="pay"  id="alipay-link" href="protected/charge.php?rechargeItemId={{selectMeal.id}}&phone={{phone}}&payWay={{selectPayWayIndex}}&type=flow" target="_blank"  ng-show="selectPayWayIndex == 2">立即支付 </a>
        
                                <input class="pay two" type="button" id="pay-btn" value="立即支付" ng-show="selectPayWayIndex == 1" ng-click="submit()" />
                                <!-- 微信二维码框 -->
                                <div class="box_w" ng-show="QRCODE_BOX_VISABLE == true">
                                    <div class="box2_w" id="qcode-box">
                                        <div class="box_back_w">
                                            <div class="q_order_w">
                                                <h2>微信支付</h2>
                                                <a class="close" href="javascript:;" ng-click="QRCODE_BOX_VISABLE = false"></a>
                                            </div>
                                            <div class="q_order1">
                                                <div class="line ac">
                                                    付款：
                                                    <em class="price">{{selectMeal.price}}.00元</em>
                                                </div>
                                                <div class="line wei_bg">
                                                    <div id="qcode">
                                                        <img src="{{wechatQcode}}" alt="" />
                                                    </div>
                                                </div>
                                                <div class="line ac">
                                                    打开手机微信扫一扫继续付款
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!-- 支付成功弹出框 -->
                                <div class="box_s" id="success-box" ng-show="SUCCESS_BOX_VISABLE==true">
                                    <div class="box2_s">
                                        <div class="box_back_s">
                                            <div class="q_order_s">
                                                <h2>微信支付</h2>
                                                <a class="close" href="javascript:;" ng-click="SUCCESS_BOX_VISABLE=false"></a>
                                            </div>
                                            <div class="q_order1">
                                                <div class="line ac">
                                                    <img src="image/gou.png" />
                                                </div>
                                                <div class="line ac">
                                                    &yen;：<em class="price">{{selectMeal.price}}.00元</em>
                                                </div>
                                                <div class="line ac c_g">
                                                    支付成功
                                                </div>
                                                <div class="line">
                                                    <a href="index.html" class="success">完 成</a>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>


                            </div>
                        </div>
                    </div>
                </div>
            </div>







        </div>
    </div>
    <div id="tab2" style="display:none;">
        <div class="jl_list">



        </div>
        <!--
<div class="ac page" style=""><span>1</span><a href="#">下一页</a></div> -->
    </div>
</div>
